package day6work;
import java.util.Timer;
import java.util.TimerTask;

public class timer {
    public static void main(String[] args) {
        Timer timer=new Timer();
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println(11);
            }
        }, 1000, 1000);
    }
}
